]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionDownloader: Use plain Soup.Session
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 3 Aug 2021 22:28:25 +0000 (00:28 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 24 Aug 2021 23:54:07 +0000 (01:54 +0200)
Unlike for the old Soup.SessionSync/SessionAsync classes,
Soup.Session:ssl-use-system-ca-file already defaults to true.

In Soup3, the behavior was made unconditional and the property
removed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1940>

js/ui/extensionDownloader.js

index 08cea59318e451539065b76382c44ccbdb1777e8..13fcf35db689b75f63c75a08e106f9274ba961c8 100644 (file)
@@ -252,5 +252,5 @@ class InstallExtensionDialog extends ModalDialog.ModalDialog {
 });
 
 function init() {
-    _httpSession = new Soup.Session({ ssl_use_system_ca_file: true });
+    _httpSession = new Soup.Session();
 }